package com.znsd.stu.service;

import java.util.List;

import com.znsd.entitys.Users;

public interface UserService {
	/**
	 * 用户登录
	 * @Title: checkUsername
	 * @Description: TODO(这里用一句话描述这个方法的作用)
	 * @param @param username
	 * @param @param password
	 * @param @return    参数
	 * @return Users    返回类型
	 * @throws
	 */
	public Users checkUsername(String username, String password);
	
	public Users checkUserPhone(String phone);
//	public Users checkUsername(String username);
	public int addUser(Users user);

	public Integer updateUser(Users user);
	
	public List<Users> queryLimitUser(Integer pageIndex, Integer limit);

	public Integer queryUserCount();

	public Integer updateuserRole(Users user, Integer quanxian);

	
}
